package cn.wolfcode.wolf2w.strategy.service;

import cn.wolfcode.wolf2w.strategy.api.domain.StrategyComment;
import cn.wolfcode.wolf2w.strategy.query.StrategyCommentQuery;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 攻略评论Service接口
 * 
 * @author dafei
 * @date 2023-11-27
 */
public interface IStrategyCommentService extends IService<StrategyComment>{
    /**
    * 分页
    * @param qo
    * @return
    */
    IPage<StrategyComment> queryPage(StrategyCommentQuery qo);

    /**
     * 攻略评论点赞
     * @param cid
     * @return
     */
    boolean thumbsup(Long cid);
}
